<template>
  <view>
    <swiper
      indicator-dots="true"
      autoplay="true"
      interval="3000"
      duration="500"
      style="height: 300px;"
    >
      <swiper-item v-for="(item, index) in images" :key="index">
        <image :src="item" style="width: 100%; height: 100%;" mode="aspectFill"></image>
      </swiper-item>
    </swiper>
  </view>
</template>

<script>
export default {
  data() {
    return {
      images: [
        '/static/logo.png',
        '/static/logo.png',
        '/static/logo.png',
      ]
    };
  }
};
</script>

<style>
/* 可以根据需要添加样式 */
</style>
